import request from '@/utils/request'
// 化妆品车间生产设备 API接口
const fileApi = {
  uploadFile: '/file/uploadFile'
}

/**
 * 化妆品车间生产设备分页列表
 * @param {*} body
 * @returns
 */
export function aplUploadFile(data) {
  var body = new FormData()
    body.append("file", data);
    
    return request({
        url: fileApi.uploadFile,
        headers: {"Conten-Type": "mulitpart/form-data"},
        method: 'post',
        data: body
    });
  }
